<template>
	<div class="mainContainer">
		<aside class="aside">
			<AsideNav :items="asideNavs">
			</AsideNav>
		</aside>
		<div class="main flex-container">
			<router-view/>
		</div>
	</div>
</template>

<script>
import AsideNav from "@/components/common/AsideNav.vue";
export default {
  data: function() {
    return {
      asideNavs: [
        {
          id: 1,
          name: "系统管理",
          children: [
            {
              id: 2,
              name: "菜单管理",
              url: "/menu/list"
            },
            {
              id: 4,
              name: "权限管理",
              url: "/right/list"
            },
            {
              id: 3,
              name: "角色管理",
              url: "/about"
            }
          ]
        }
      ]
    };
  },
  components: {
    AsideNav
  }
};
</script>
